<div class="position">当前位置：<a href="<?php echo Yii::app()->createUrl('member/index/index');?>"><?php echo t('Member','web') ?></a> &gt; <a href="<?php echo Yii::app()->createUrl('member/info/info');?>">帐户管理</a> &gt; 个人资料</div>
<div class="hr_12"></div>
<!--个人资料 start-->
 <div class="userinfo_box pub_tab" id="userInfo">
 	<div class="tab_hd2">
        <ul class="c_f">
            <li class="select"><a href="<?php echo Yii::app()->createUrl('member/info/info');?>">基本资料<b class="mem_bgx left"></b><b class="mem_bgx right"></b></a></li>
            <li><a href="<?php echo Yii::app()->createUrl('member/info/face');?>">更改头像<b class="mem_bgx left"></b><b class="mem_bgx right"></b></a></li>
            <li><a href="<?php echo Yii::app()->createUrl('member/info/level');?>">会员等级<b class="mem_bgx left"></b><b class="mem_bgx right"></b></a></li>
        </ul>
    </div>
    <div class="tab_cont2">
    	<p class="fs_14 remind">亲爱的 <strong><?php echo isset(Yii::app()->user->nickname) ? Yii::app()->user->nickname : Yii::app()->user->username ?></strong>，填写真实的资料，有助于联系到你哦。 </p>
                <?php $form=$this->beginWidget('CActiveForm', array(
                    'id'=>'member-pro-form',
                    'enableAjaxValidation'=>false,
                    'enableClientValidation'=>true,
                    'clientOptions'=>array('validateOnSubmit'=>true),
                )); ?>

                <?php echo $form->hiddenField($model_main,'zm_id',array('value'=>Yii::app()->user->userid)); ?>
                <?php echo $form->hiddenField($model_more,'zm_id',array('value'=>Yii::app()->user->userid)); ?>
            <ul class="form_list">
            	<li class="c_f">
                	<span class="tit f_l">当前头像：</span>
                	<div class="face f_l"><img src="/<?php echo !empty(app()->user->face)?Yii::app()->user->face:'images/no_face.png'; ?>" alt="" /></div>
                </li>
                <li>
					<span class="tit"><?php echo $form->labelEx($model_more,'zmp_nickname'); ?>：</span>
                    <?php echo $form->textField($model_more,'zmp_nickname',array('class'=>'t_ipt ipt_bg','maxlength'=>'20')); ?>
                    <?php echo $form->error($model_more,'zmp_nickname','',true,true,'span'); ?>                  
                </li>
                <li>
					<span class="tit"><?php echo $form->labelEx($model_more,'zmp_lastname'); ?>：</span>
                    <?php echo $form->textField($model_more,'zmp_lastname',array('class'=>'t_ipt ipt_bg','maxlength'=>'20')); ?>
                    <?php echo $form->error($model_more,'zmp_lastname','',true,true,'span'); ?>                  
                </li>
                <li>
                    <span class="tit"><?php echo $form->labelEx($model_more,'zmp_sex'); ?>：</span>
                    <span class="mr10"><?php echo $form->radioButton($model_more,'zmp_sex',array('class'=>'radio','value'=>'1','checked'=>'checked','uncheckValue'=>null)); ?>男</span>
                    <span class="mr10"><?php echo $form->radioButton($model_more,'zmp_sex',array('class'=>'radio','value'=>'2','uncheckValue'=>null)); ?>女</span>
                    <?php echo $form->error($model_more,'zmp_sex','',true,true,'span'); ?>                    
                </li>
                <li>
                	<span class="tit"><?php echo $form->labelEx($model_more,'zmp_qq'); ?>：</span>
                    <?php echo $form->textField($model_more,'zmp_qq',array('class'=>'t_ipt ipt_bg','maxlength'=>'20')); ?>
                    <?php echo $form->error($model_more,'zmp_qq','',true,true,'span'); ?>                
                </li>
                <li><span class="tit">生日：</span>
					<?php echo $form->textField($model_more,'zmp_birthday',array('class'=>'t_ipt ipt_bg','maxlength'=>'20','onclick'=>'WdatePicker()')); ?>
                    <?php echo $form->error($model_more,'zmp_birthday','',true,true,'span'); ?>                         
                </li>
                <li>
					<span class="tit"><?php echo $form->labelEx($model_more,'zar_id'); ?>：</span>
                    <?php Area::model()->getAreainfo('MemPro',$model_more->zar_id,'s_ipt');?>  
                </li>
                <li>
					<span class="tit"><?php echo $form->labelEx($model_more,'zmp_address'); ?>：</span>
                    <?php echo $form->textField($model_more,'zmp_address',array('class'=>'t_ipt ipt_bg','maxlength'=>'20')); ?>
                    <?php echo $form->error($model_more,'zmp_address','',true,true,'span'); ?>
                </li>
                <li><span class="tit"></span><input class="mem_btn mem_btn06" type="submit" value="保 存" /></li>
            </ul>
    	<?php $this->endWidget(); ?>
 	</div>
 </div>
<script language="javascript" type="text/javascript" src="/js/My97DatePicker/WdatePicker.js"></script>
<!--个人资料 end-->